﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using YAWD.Utils;
using System.Diagnostics;

namespace YAWD.Windows
{
    /// <summary>
    /// Interaction logic for About.xaml
    /// </summary>
    public partial class About : Window
    {
        public About()
        {
            InitializeComponent();
            lblVersion.Text = lblVersion.Text + " " + Util.getAppVersion().ToString();
        }

        private void hypMail_Click(object sender, RoutedEventArgs e)
        {
            Hyperlink objLink = e.OriginalSource as Hyperlink;
            if (objLink != null) Process.Start(objLink.NavigateUri.ToString());
        }
    }
}
